package ch.bfh.abhmcm.SoftwareEngineeringAndDesign.view.mainframe.generateRFCPanel.generateRFCSubs.listeners;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import ch.bfh.abhmcm.SoftwareEngineeringAndDesign.view.mainframe.generateRFCPanel.generateRFCSubs.ChooseEditRFCDialog;

public class CancelDialogButtonlistener implements ActionListener{
	
	private ChooseEditRFCDialog chooseEditRFCDialog;
	public CancelDialogButtonlistener(ChooseEditRFCDialog chooseEditRFCDialog){
		this.chooseEditRFCDialog = chooseEditRFCDialog;
	}

	@Override
	public void actionPerformed(ActionEvent e) {

		this.chooseEditRFCDialog.dispose();
	}

}
